package cn.edu.scau.dormitory_management_system.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.text.spi.DateFormatSymbolsProvider;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 
 * 
 * @author wanglingfu
 * @email 1006340605@qq.com
 * @date 2021-08-02 14:35:10
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_bed")
public class BedEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 床位id
	 */
	@TableId
	private Integer bedId;
	/**
	 * 所属宿舍
	 */
	private Integer dormId;
	/**
	 * 几号床
	 */
	private String bedName;

	/**
	 *  床位状态
	 */
	private int status;
	/**
	 *  入住学生id
	 */
	private String stuId;
	/**
	 * 入驻时间
	 */
	private Date liveTime;
}
